/**
 * Created by fanshaohua on 2017/11/4.
 */
public class Course {

    private Students [] studentList = new Students[10];

    private int studentNumber;
    private String courseName;

    public Course(String courseName) {
        this.courseName = courseName;
    }


    public void selectCourse(Students student){

        studentList[studentNumber] = student;

        System.out.println("正在输出弟"+studentNumber+"个学生"+studentList[studentNumber]);

        studentNumber++;


    }

    public Students [] getStudentList(){

        return this.studentList;
    }

    public int getStudentNumber(){

        return studentNumber;
    }

    public void dropStudent(Students student){

    }
}
